package com.lzxzjy.serivce;

import com.lzxzjy.pojo.Message;
import com.lzxzjy.pojo.PageBean;

public interface MessageService {
    boolean insertMessage(Message message);

    PageBean<Message> selectMessageByPageAndTerms(Message message, int currentPage, int pageSize);

    PageBean<Message> selectMessageByPageAndTerms(Message message);

    boolean deleteMessageByIds(int[] messageIds);

    boolean deleteMessageById(int messageId);

    boolean updateMessageById(Message message);
}
